<template>
    <van-search v-model="value" disabled placeholder="请输入搜索关键词" @click="tosearch()"/>

</template>

<script setup>
import { useRoute, useRouter } from 'vue-router'
const router = useRouter()
const route = useRoute()
const tosearch=(name)=>{
    router.push({path:'/seacher',query:{name:''}})
}
</script>

<style lang="scss" scoped></style>